package com.tourism.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.tourism.entity.common.IntBasicEntity;
import lombok.Data;

/**
 * @Description
 * @Author z
 * @Date 2021-04-28 23:45
 */
@Data
public class Ticket extends IntBasicEntity {

    /**
     * 门票名字
     */
    private String name;
    /**
     * 门票价格
     */
    private Double price;

    /**
     * 酒店id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long attractionId;
}
